package com.guofen.service.sjq;

import com.guofen.pojo.SjqFlocculationProduceMaintenanceMonth;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public interface SjqFlocculationProduceMaintenanceMonthService {
    boolean add_recorder(String equipment_name, String is_normal, String operator, String maintenance_content, String remarks);

    boolean add_examiner(String id, String examiner, String remarks);

    SjqFlocculationProduceMaintenanceMonth getlatest(String equipment_name, String maintenance_content);

    List<Integer> is_lastweek_complete(String equipmentsName, String menstanceNum, String role);

    List<SjqFlocculationProduceMaintenanceMonth> getMonthRecords(String equipmentName);

    public List<SjqFlocculationProduceMaintenanceMonth> getlastByName(String equipmentName);

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqFlocculationProduceMaintenanceMonth record);
}
